home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
767
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: netnews.jhuapl.edu!usenet
From: Stan Novinsky <stan_novinsky@jhuapl.edu>
Newsgroups: comp.std.c
Subject: Embedded Eacape Sequences ?
Date: 19 Apr 1996 12:19:06 GMT
Organization: Johns Hopkins University Applied Physics Lab
Message-ID: <4l80bq$b2k@aplinfo.jhuapl.edu>
NNTP-Posting-Host: f3c-sjn.jhuapl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (Macintosh; I; PPC)
X-URL: news:comp.std.c
I have a program that I wish to have some escape sequences
defined and used. The escape sequences will work on a
VT emulation terminal I am using.
For instance, I want to place the cursor at the top left
corner of my terminal screen with ESC//'[01;01H'.
This works in FORTRAN by defining the
ESC = CHAR(27)
TOPL = ESC//'[01;01H'
When a FORTRAN type statement is issued, the cursor moves to the
top left portion of the screen.
Is it possible to do this in C and if so, how is the
sequence defined and used ???
Thanks
stan_novinsky@jhuapl.edu
*******************************************************************
* System Configuration:
*
* VAXstation 4000/90
*
* OpenVMS 6.1
* Oracle 7.1, Forms 4.0
* 3 RZ28's
*
*******************************************************************